package org.hibernate.test.service;

import java.util.List;

public interface IService <T> {
	List<T> listAll();

	T getById(Long id);

	T saveOrUpdate(T dto);

	void delete(T dto);

	Integer count();
}
